package com.iecas.entity;

import java.awt.*;

public class Wall extends Base implements GameObject{

    public Wall(int x, int y) {
        setX(x);
        setY(y);
        setSpeed(0);
        setWidth(30);
        setHeight(30);
    }


    @Override
    public Rectangle getBounds() {
        return  new Rectangle(x, y, width, height);
    }
}
